package com.starbaba.system.syscode.service;

import java.util.List;

import com.starbaba.core.service.CommonService;
import com.starbaba.system.syscode.model.SyscodeVO;

public interface SyscodeService extends CommonService{
	
	/**
	 * 查询 kind <> '*' 信息
	 * @param type
	 * @return
	 * @throws Exception
	 */
	public List<SyscodeVO> doFindSyscodeVOByType(String type) throws Exception;
	
	/**
	 * 查询 type <> '*' 信息
	 * @param type
	 * @param neCode 过滤不等于的code
	 * @return
	 * @throws Exception
	 */
	public List<SyscodeVO> doFindSyscodeVOByType(String type, int[] neCode) throws Exception;
	
	/**
	 * 查询所有type信息,包括kind='*'
	 * @param type
	 * @return
	 * @throws Exception
	 */
	public List<SyscodeVO> doFindSyscodeVOByTypeAll(String type) throws Exception;
	
	/**
	 * 根据type和kind查找SyscodeVO对象
	 * @param type
	 * @param kind
	 * @return
	 * @throws Exception
	 */
	public SyscodeVO doFindSyscodeVOByTypeAndKind(String type, String kind) throws Exception;
	
	/**
	 * 根据type查找记录数
	 * @param type
	 * @return
	 * @throws Exception
	 */
	public int doCountByType(String type) throws Exception;

}
